<div class="site-page-header-ghost-wrapper">
    <nz-page-header [nzGhost]="true" class="site-page-header" nzTitle="movielens">
    </nz-page-header>
</div>
<div align="center">
    <h2>用户注册</h2>
    <form nz-form [formGroup]="validateForm" class="register-form" (ngSubmit)="submitForm()">
        <nz-form-item>
        <nz-form-control nzErrorTip="Please input your email!">
            <nz-input-group>
            <input type="text" nz-input formControlName="username" placeholder="电子邮箱" />
            </nz-input-group>
        </nz-form-control>
        </nz-form-item>
        <nz-form-item>
        <nz-form-control nzErrorTip="Please input your password!">
            <nz-input-group>
            <input type="password" nz-input formControlName="password" placeholder="登录密码" />
            </nz-input-group>
        </nz-form-control>
        </nz-form-item>
        <nz-form-item>
            <nz-form-control nzErrorTip="Please input your check password!">
                <nz-input-group>
                <input type="password" nz-input formControlName="checkPassword" placeholder="确认密码" />
                </nz-input-group>
            </nz-form-control>
        </nz-form-item>
        <button nz-button class="register-form-button register-form-margin" [nzType]="'primary'">Register</button>
        <a routerLink="/login"> log in! </a>
    </form>
</div>